package com.intelligence.pda.ui.scanlibrary.model;

import com.intelligence.pda.retrofit.BaseModel;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator
 * on 2017/10/19.
 */

public class OutstockDetailModel extends BaseModel implements Serializable {
    /**
     {
     "code": "",				String	Y	消息代码
     "data": [
     {
     "orderNo": "",				String	Y	订单号
     "goodsName": "",				String	Y	货物名称
     "extnorderNo": "",				String	Y	客户单号
     "amount": "",				String	Y	件数
     "isButton":""				Boolean	Y	是否可以上报异常
     }
     ],
     "isSuccess": true,				Boolean	Y	是否调用成功
     "message": ""				String	Y	消息内容

     */

    private String code;
    private List<DataBean> data;

    public static class DataBean {
        private String orderNo;
        private String goodsName;
        private String extnOrderNo;
        private String amount;
        private boolean isButton;
        private String amounts;
        private boolean isOut = false;

        public boolean isButton() {
            return isButton;
        }

        public void setButton(boolean button) {
            isButton = button;
        }

        public String getAmounts() {
            return amounts;
        }

        public void setAmounts(String amounts) {
            this.amounts = amounts;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getExtnOrderNo() {
            return extnOrderNo;
        }

        public void setExtnOrderNo(String extnOrderNo) {
            this.extnOrderNo = extnOrderNo;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public boolean isOut() {
            return isOut;
        }

        public void setOut(boolean out) {
            isOut = out;
        }
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }
}
